const num = 45;
console.log(num.toString(2), Number(num.toString(2)), +num.toString(2));